import cv2
import time
img_ = ['tutu.jpg','tt.jpg','tutu111.jpg']
for src in img_:
    img = cv2.imread(src)
    dst1 = cv2.flip(img,0)
    dst2 = cv2.flip(img,1)
    dst3 = cv2.flip(img,-1)
    cv2.imshow('Input',img)
    cv2.imshow('flip1',dst1)
    cv2.imshow('flip2',dst2)
    cv2.imshow('flip3',dst3)
    cv2.waitKey(1)
    time.sleep(4)
    cv2.destroyAllWindows()
